package com.yl.chainStore.mapper.pay

import com.yl.chainStore.entity.pay.PayCustomerGiftsOfGold;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.chainStore.pojo.dto.statistical.MoneyByDay
import com.yl.chainStore.pojo.vo.statistical.IncomeSummarySelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 * 馈赠金额变动记录 Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2022-02-21
 */
@Mapper
interface PayCustomerGiftsOfGoldMapper : BaseMapper<PayCustomerGiftsOfGold>{

    /**
     * 订单付款时馈赠金使用情况
     */
    fun getCustomerOrderUseGiftMoneyByDay(@Param("vo")vo: IncomeSummarySelectVo):List<MoneyByDay>
}
